package com.fy56.platform.logistics.mapper;

import com.fy56.platform.logistics.common.mapper.IBaseMapper;
import com.fy56.platform.logistics.model.MiniProgram;

public interface MiniProgramMapper extends IBaseMapper<MiniProgram> {

    MiniProgram selectByCode(String tenantCode);

    MiniProgram selectByAppId(String appId);

    /**
     *
     * @mbggenerated 2018-05-17
     */
    int deleteByPrimaryKey(Long id);

    /**
     *
     * @mbggenerated 2018-05-17
     */
    int insert(MiniProgram record);

    /**
     *
     * @mbggenerated 2018-05-17
     */
    int insertSelective(MiniProgram record);

    /**
     *
     * @mbggenerated 2018-05-17
     */
    MiniProgram selectByPrimaryKey(Long id);

    /**
     *
     * @mbggenerated 2018-05-17
     */
    int updateByPrimaryKeySelective(MiniProgram record);

    /**
     *
     * @mbggenerated 2018-05-17
     */
    int updateByPrimaryKey(MiniProgram record);
}